Stored Procedures [dbo].[BAESecurityKeyUpdate]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@SecurityKeyvarchar(64)64
@Descriptionvarchar(256)256
@IsDynamicKeybit1
@StoredProcedureNamevarchar(64)64
SQL Script
create procedure [dbo].[BAESecurityKeyUpdate] @SecurityKey varchar(64),
     @Description varchar(256),
     @IsDynamicKey bit,
     @StoredProcedureName varchar(64) as
DELETE FROM SecurityKey WHERE SecurityKey = @SecurityKey;

    INSERT INTO SecurityKey (SecurityKey, [Description], IsDynamicKey, StoredProcedureName)
    VALUES(@SecurityKey, @Description, @IsDynamicKey , @StoredProcedureName)

GO
Uses